//
//  ZGSCartoonHistoryModel.m
//  MapleLeaf
//
//  Created by dllo on 15/12/5.
//  Copyright © 2015年 AntennaBabyTeam. All rights reserved.
//

#import "ZGSCartoonHistoryModel.h"

@implementation ZGSCartoonHistoryModel
- (void)encodeWithCoder:(NSCoder *)aCoder {
    [aCoder encodeObject:self.cartoon forKey:@"cartoon"];
    [aCoder encodeInteger:self.hSet forKey:@"hSet"];
    [aCoder encodeInteger:self.hPage forKey:@"hPage"];
    [aCoder encodeObject:self.listArr forKey:@"listArr"];
}

- (id)initWithCoder:(NSCoder *)aDecoder {
    self = [super init];
    if (self) {
        self.cartoon = [aDecoder decodeObjectForKey:@"cartoon"];
        self.hSet = [aDecoder decodeIntegerForKey:@"hSet"];
        self.hPage = [aDecoder decodeIntegerForKey:@"hPage"];
        self.listArr = [aDecoder decodeObjectForKey:@"listArr"];
    }
    return self;
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
}

@end
